import { Entity, Column, PrimaryColumn } from "typeorm";

/**
 * 品牌表
 */
@Entity("BBL_DESK_BRAND")
export class BblDeskBrand {
  @PrimaryColumn({
    name: "DESK_BRAND_ID",
    type: "varchar",
    length: 50,
    comment: "品牌ID"
  })
  deskBrandId: string;

  @Column({
    name: "DESK_BRAND_NAME",
    type: "varchar",
    length: 255,
    nullable: false,
    comment: "品牌名称"
  })
  deskBrandName: string;

  @Column({
    name: "DESK_BRAND_REMARK",
    type: "varchar",
    length: 2000,
    nullable: true,
    comment: "备注"
  })
  deskBrandRemark: string;

  @Column({
    name: "DESK_BRAND_IS_DELETED",
    type: "int",
    nullable: true,
    comment: "是否删除, 0: 未删除, 1: 已删除"
  })
  deskBrandIsDeleted: number;

  @Column({
    name: "DESK_BRAND_INDEX",
    type: "int",
    nullable: true,
    comment: "排序"
  })
  deskBarndIndex: number;
}
